<?php

require_once dirname(__FILE__)."/../conn/conn.php";

class AdminUser
{
	
	public function __construct()
	{
	
	}
	
	public function login($name, $password)
	{	
		$sql = "select * from admin where name='".$name."' and password='".$password."'";
		return $conne->getRowsRst($sql);
	}
	
}
?>